Salient features tracking apparatus and methods using visual initialization

ABSTRACT

Apparatus and methods for detecting and utilizing saliency in digital images. In one implementation, salient objects may be detected based on analysis of pixel characteristics. Least frequently occurring pixel values may be deemed as salient. Pixel values in an image may be compared to a reference. Color distance may be determined based on a difference between reference color and pixel color. Individual image channels may be scaled when determining saliency in a multi-channel image. Areas of high saliency may be analyzed to determine object position, shape, and/or color. Multiple saliency maps may be additively or multiplicative combined in order to improve detection performance (e.g., reduce number of false positives). Methodologies described herein may enable robust tracking of objects utilizing fewer determination resources. Efficient implementation of the methods described below may allow them to be used for example on board a robot (or autonomous vehicle) or a mobile determining platform.

PRIORITY CLAIM AND CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to co-pending and co-owned U.S. Provisional Patent Application Ser. No. 62/053,004 entitled “SALIENCY DETECTION APPARATUS AND METHODS”, filed Sep. 19, 2014, which is incorporated herein by reference in its entirety. This application is related to co-pending and co-owned U.S. patent application Ser. No. 13/548,071, entitled “SPIKING NEURON NETWORK SENSORY PROCESSING APPARATUS”, filed on Jul. 12, 2012, and co-pending and co-owned U.S. patent application Ser. No. 13/660,982, entitled “SPIKING NEURON SENSORY PROCESSING APPARATUS AND METHODS FOR SALIENCY DETECTION”, filed on Oct. 25, 2012, each of the foregoing incorporated herein by reference in its entirety. This application is also related to co-pending and co-owned U.S. patent application Ser. No. 14/______ entitled “APPARATUS AND METHODS FOR TRACKING SALIENT FEATURES” {Attorney Reference: BRAIN.061A/BC201510A}, and Ser. No. 14/______ entitled “APPARATUS AND METHODS FOR SALIENCY DETECTION BASED ON COLOR OCCURRENCE ANALYSIS” {Attorney Reference BRAIN.062A/BC201511A}, each filed contemporaneously herewith on Mar. 3, 2015, each also incorporated herein by reference in its entirety.

COPYRIGHT

A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever.

BACKGROUND

1. Field of the Disclosure

The present disclosure relates to, inter alia, computerized apparatus and methods for detecting features in sensory information.

2. Description of Related Art

Saliency is a term often used in psychophysics and neuroscience, where it may be defined as the ability to attract attention to a particular stimulus. In the visual modality, saliency may be attributed to objects or visual patterns. In primates, there are at least five general aspects of the visual scene which spontaneously attract attention (a phenomenon often called pop-out):

-   -   1. Color—a unique color surrounded by another color or colors         (e.g., a red spot in sea of green) will involuntarily trigger         attention.     -   2. Orientation—a bar of one orientation surrounded by bars of         another orientation     -   3. Contrast (luminance)—an area characterized by large contrast         (a bright thing mixed with very dark things)     -   4. Motion—an object moving in a different direction or speed         that surroundings.     -   5. Faces—only for humans and some primates, image resembling a         face

The biological origin of this behavior is debated. One of the plausible mechanisms is local inhibitory interaction in visual cortex (and perhaps thalamus). Such inhibitory connections arise between neurons which represent things often co-occurring. For example, a segment of vertical line (observed by a spatially restricted receptive field of a neuron) is typically a fragment of a larger line. A color blob seen in a receptive field of a neuron is most often a fragment of a larger blob of the same color. Appearance of a feature (e.g., orientation) which is not expected in a given context (e.g., vertical line segment surrounded by a large number of horizontal lines) is statistically much more rare, therefore inhibitory connections for such occurrence are much weaker. In consequence, the response of a neuron representing such “unexpected features” is stronger, as the otherwise present inhibition is lacking.

From an evolutionary point of view, sensitivity to such unexpected stimuli is beneficial. It allows one to quickly detect anomalies in the visual scene, which often indicate behaviorally relevant information (e.g., a ripe, red fruit among green leaves, a dangerous predator hiding in the bushes).

SUMMARY

One aspect of the disclosure relates to a non-transitory computer-readable storage medium. In one implementation, the medium includes instructions embodied thereon, the instructions being executable by a processing apparatus (e.g., of a host device). In one variant, the instructions are configured to perform a method of providing a tracking indication, the method including: for an image comprising a plurality of pixels, individual ones of the pixels characterized by one or more pixel characteristics, determining a pixel occurrence statistics parameter based at least on analysis of the one or more pixel characteristics; determining a spatial saliency distribution of the based on the at least one pixel occurrence statistics parameter; determining a location of a salient area in an image corresponding to saliency; and providing the tracking indication configured to convey information related to the salient area to a tracking apparatus in communication with the non-transitory computer-readable storage medium.

In another implementation, the image comprises a representation of an object, and the providing the tracking indication comprises providing the tracking indication so as to enable tracking of the object throughout a plurality of images occurring subsequent to the image, individual ones of the plurality of images comprising representations of the object.

In a further implementation of the medium, the image comprises one or more channels, individual ones of the more or more channels being characterized by the one or more pixel characteristics, and the one or more pixel characteristics are selected from the group consisting of pixel color and pixel luminance. In one variant, the pixel occurrence statistics parameter is configured based on determining likelihood of occurrence of a value of a pixel characteristic within the image.

In yet another implementation of the medium, the location of the salient area is determined based at least on the saliency distribution meeting or exceeding a threshold. The at least one pixel parameter is configured based at least on determining a distribution of pixel values within the image, the distribution characterized by a parameter, and the saliency determination is configured based at least on an evaluation of the at least one pixel parameter relative to the threshold.

Another aspect of the disclosure relates to a computer implemented method of tracking an object in a sequence of digital images. In one implementation, the images are each comprised of pixels, and the method includes: for an image of the sequence of images, determining at least one distribution of orientations in the image; evaluating the at least one distribution to determine salient orientation information; determining a location of at least one salient area in the image based on the salient orientation information; and tracking the object based on the location of the at least one salient area, the tracking of the object comprising determining an occurrence of a salient orientation in an area proximate to the location, the determined occurrence of the salient orientation being in a subsequent image of the sequence of images.

In one variant of the method individual pixels of the image are characterized by one or more channels, and the determining of at least one distribution of orientations in the image is configured based on analysis of pixel values for individual ones of the one or more channels. The one or more channels comprise e.g., pixel chromaticity; and the analysis comprises determining a chromaticity distance measure between pixel chromaticity and a reference chromaticity.

In another variant of the method, individual pixels of the image are being characterized by a chromaticity parameter; and the method further comprises determining a chromaticity distance measure between chromaticity of pixels of the image within the salient area and a reference chromaticity.

In some implementations, the method may comprise determining a shape characteristic of the feature. The parameter may comprise the characteristic.

In some implementations, the characteristic may be configured to characterize a circularity of the feature.

Another aspect of the disclosure relates to a method of operating a robotic device.

Yet another aspect of the disclosure relates to a method of tracking an object in a sequence of images. The method may comprise: determining a saliency measure based on analysis of pixels of an image of the sequence of imaged; and providing the saliency measure to a tracking process, the tracking process configured to determine representation of the object in individual ones of the sequence of images.

In some implementations, the identity of the tracked salient object may be estimated via computation of color distance, such as between the pixels representing the salient object and a previously initialized color prototype.

In some implementations, the determination of the saliency measure may comprise determining orientation of the feature to initialize a color distance computation to maximize discriminability between the target and the background.

In some implementations, the method may comprise determining orientation saliency to initialize a tracker pick the salient object.

In some implementations, the method may comprise using distance saliency to initialize a tracker.

In some implementations, the method may comprise using color saliency to pick a number of object colors to maximize discriminability from the background.

Still another aspect of the disclosure relates to a controller of a robotic apparatus. The controller may comprise a sensor processing component configured to analyze sensor input. The sensor input analysis may be configured to: determine visual (e.g., color) saliency; initialize a tracking process using the color saliency; determine a salient feature; operate the tracking process to detect the feature; and communicate tracking information to a controller component configured to adjust trajectory of the robotic device in accordance with a characteristic of the feature.

In some implementations, the salient feature determination may be configured based on color saliency. The salient feature information may be automatically provided to the tracking process. The feature may comprise an object. The trajectory adjustment may be configured to reduce spatial separation between the object and the apparatus.

In some implementations, the controller may comprise a manipulator. The trajectory adjustment may comprise operating the manipulator to pick up the object.

These and other objects, features, and characteristics of the system and/or method disclosed herein, as well as the methods of operation and functions of the related elements of structure and the combination of parts and economies of manufacture, will become more apparent upon consideration of the following description and the appended claims with reference to the accompanying drawings, all of which form a part of this specification, wherein like reference numerals designate corresponding parts in the various figures. It is to be expressly understood, however, that the drawings are for the purpose of illustration and description only and are not intended as a definition of the limits of the disclosure. As used in the specification and in the claims, the singular form of “a”, “an”, and “the” include plural referents unless the context clearly dictates otherwise.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a graphical illustration depicting a robotic apparatus comprising an feature detection apparatus of the disclosure, configured for autonomous navigation, in accordance with one or more implementations.

FIG. 2A illustrates use of pixel likelihood for feature detection in a YUV color space image, according to one or more implementations.

FIG. 2B illustrates saliency map comprising multiple salient areas determined based on pixel likelihood determination, according to one or more implementations.

FIG. 3 illustrates use of color distance for determining a salient feature in an image frame shown in FIG. 2A, according to one or more implementations.

FIG. 4 illustrates saliency maps obtained using a plurality of image characteristics, according to one or more implementations.

FIG. 5 illustrates use of a saliency map configured based on color likelihood as a priming map for detecting salient feature, according to one or more implementations.

FIG. 6 illustrates use of multiple saliency maps for detecting a target object according to one or more implementations.

FIG. 7 is a functional block diagram depicting a system comprising salient feature detection apparatus, according to one or more implementations.

FIG. 8 is a functional block diagram depicting the salient feature detection apparatus of, e.g., FIG. 7, according to one or more implementations.

FIG. 9A-9D illustrates gestures of a human operator used for communicating control indications to a robotic device, gestures being detectable by a salient feature detection system of, e.g., FIGS. 6-7, in accordance with one or more implementations.

FIG. 10 illustrates use of saliency and/or object detection methodology by an unmanned robotic apparatus configured for autonomous navigation, in accordance with one or more implementations.

FIG. 11 is a logical flow diagram illustrating a method of data processing useful for determining features in an image, in accordance with one or more implementations.

FIG. 12 is a logical flow diagram illustrating a method of determining a saliency map based on likelihood information, in accordance with one or more implementations.

FIG. 13 is a logical flow diagram illustrating a method of trajectory navigation by a robotic device using salient feature detection, in accordance with one or more implementations.

All Figures disclosed herein are © Copyright 2015 Brain Corporation. All rights reserved.

DETAILED DESCRIPTION

Implementations of the present disclosure will now be described in detail with reference to the drawings, which are provided as illustrative examples so as to enable those skilled in the art to practice the present technology. Notably, the figures and examples below are not meant to limit the scope of the present disclosure to a single implementation, but other implementations are possible by way of interchange of or combination with some or all of the described or illustrated elements. Wherever convenient, the same reference numbers will be used throughout the drawings to refer to same or like parts.

Although the system(s) and/or method(s) of this disclosure have been described in detail for the purpose of illustration based on what is currently considered to be the most practical and preferred implementations, it is to be understood that such detail is solely for that purpose and that the disclosure is not limited to the disclosed implementations, but, on the contrary, is intended to cover modifications and equivalent arrangements that are within the spirit and scope of the appended claims. For example, it is to be understood that the present disclosure contemplates that, to the extent possible, one or more features of any implementation may be combined with one or more features of any other implementation

In the present disclosure, an implementation showing a singular component should not be considered limiting; rather, the disclosure is intended to encompass other implementations including a plurality of the same component, and vice-versa, unless explicitly stated otherwise herein.

Further, the present disclosure encompasses present and future known equivalents to the components referred to herein by way of illustration.

As used herein, the term “bus” is meant generally to denote all types of interconnection or communication architecture that is used to access the synaptic and neuron memory. The “bus” could be optical, wireless, infrared or another type of communication medium. The exact topology of the bus could be for example standard “bus”, hierarchical bus, network-on-chip, address-event-representation (AER) connection, or other type of communication topology used for accessing, e.g., different memories in pulse-based system.

As used herein, the terms “computer”, “computing device”, and “computerized device”, include, but are not limited to, personal computers (PCs) and minicomputers, whether desktop, laptop, or otherwise, mainframe computers, workstations, servers, personal digital assistants (PDAs), handheld computers, embedded computers, programmable logic device, personal communicators, tablet or “phablet” computers, portable navigation aids, J2ME equipped devices, smart TVs, cellular telephones, smart phones, personal integrated communication or entertainment devices, or literally any other device capable of executing a set of instructions and processing an incoming data signal.

As used herein, the term “computer program” or “software” is meant to include any sequence or human or machine cognizable steps which perform a function. Such program may be rendered in virtually any programming language or environment including, for example, C/C++, C#, Fortran, COBOL, MATLAB™, PASCAL, Python, assembly language, markup languages (e.g., HTML, SGML, XML, VoXML), and the like, as well as object-oriented environments such as the Common Object Request Broker Architecture (CORBA), Java™ (including J2ME, Java Beans), Binary Runtime Environment (e.g., BREW), and other languages.

As used herein, the terms “connection”, “link”, “synaptic channel”, “transmission channel”, “delay line”, are meant generally to denote a causal link between any two or more entities (whether physical or logical/virtual), which enables information exchange between the entities.

As used herein the term feature may refer to a representation of an object edge, determined by change in color, luminance, brightness, transparency, texture, and/or curvature. The object features may comprise, inter alia, individual edges, intersections of edges (such as corners), orifices, and/or curvature

As used herein, the term “memory” includes any type of integrated circuit or other storage device adapted for storing digital data including, without limitation, ROM. PROM, EEPROM, DRAM, Mobile DRAM, SDRAM, DDR/2 SDRAM, EDO/FPMS, RLDRAM, SRAM, “flash” memory (e.g., NAND/NOR), memristor memory, and PSRAM.

As used herein, the terms “processor”, “microprocessor” and “digital processor” are meant generally to include all types of digital processing devices including, without limitation, digital signal processors (DSPs), reduced instruction set computers (RISC), general-purpose (CISC) processors, microprocessors, gate arrays (e.g., field programmable gate arrays (FPGAs)), PLDs, reconfigurable computer fabrics (RCFs), array processors, secure microprocessors, and application-specific integrated circuits (ASICs). Such digital processors may be contained on a single unitary IC die, or distributed across multiple components.

As used herein, the term “network interface” refers to any signal, data, or software interface with a component, network or process including, without limitation, those of the FireWire (e.g., FW400, FW800, and/or other FireWire implementation), USB (e.g., USB2), Ethernet (e.g., 10/100, 10/100/1000 (Gigabit Ethernet), 10-Gig-E, etc.), MoCA, Coaxsys (e.g., TVnet™), radio frequency tuner (e.g., in-band or OOB, cable modem, etc.), Wi-Fi (802.11), WiMAX (802.16), PAN (e.g., 802.15), cellular (e.g., 3G, LTE/LTE-A/TD-LTE, GSM, and/or other cellular interface implementation) or IrDA families.

As used herein, the terms “pulse”, “spike”, “burst of spikes”, and “pulse train” are meant generally to refer to, without limitation, any type of a pulsed signal, e.g., a rapid change in some characteristic of a signal, e.g., amplitude, intensity, phase or frequency, from a baseline value to a higher or lower value, followed by a rapid return to the baseline value and may refer to any of a single spike, a burst of spikes, an electronic pulse, a pulse in voltage, a pulse in electrical current, a software representation of a pulse and/or burst of pulses, a software message representing a discrete pulsed event, and any other pulse or pulse type associated with a discrete information transmission system or mechanism.

As used herein, the term “receptive field” is used to describe sets of weighted inputs from filtered input elements, where the weights may be adjusted.

As used herein, the term “Wi-Fi” refers to, without limitation, any of the variants of IEEE-Std. 802.11 or related standards including 802.11 a/b/g/n/s/v and 802.11-2012.

As used herein, the term “wireless” means any wireless signal, data, communication, or other interface including without limitation Wi-Fi, Bluetooth, 3G (3GPP/3GPP2), HSDPA/HSUPA, TDMA, CDMA (e.g., IS-95A, WCDMA, and/or other wireless interface implementation), FHSS, DSSS, GSM, PAN/802.15, WiMAX (802.16), 802.20, narrowband/FDMA, OFDM, PCS/DCS, LTE/LTE-A/TD-LTE, analog cellular, CDPD, RFID or NFC (e.g., EPC Global Gen. 2, ISO 14443, ISO 18000-3), satellite systems, millimeter wave or microwave systems, acoustic, and infrared (e.g., IrDA).

The present disclosure provides, among other things, apparatus and methods for determining salient features in sensor data. In some implementations, the sensor data may comprise images of a visual scene obtained using a video camera. The video information may comprise for example multiple streams of frames received from a plurality of cameras disposed separate from one another. Individual cameras may comprise an image sensor (e.g., charge-coupled device (CCD), CMOS device, and/or an active-pixel sensor (APS), photodiode arrays, and/or other sensors). In one or more implementations, the stream of frames may comprise a pixel stream downloaded from a file. An example of such a file may include a stream of matrices of red green blue RGB values (e.g., refreshed at a 25 Hz or other suitable frame rate). It will be appreciated by those skilled in the art when given this disclosure that the above-referenced image parameters are merely exemplary, and many other image representations (e.g., bitmap, luminance-chrominance (YUV, YCbCr), cyan-magenta-yellow and key (CMYK), grayscale, and/or other image representations) may be applicable to and useful with various implementations of the present disclosure. Furthermore, data frames corresponding to other (non-visual) signal modalities such as sonograms, infrared (IR), radar or tomography images may be compatible with the processing methodology of the disclosure, or yet other configurations.

The salient feature detections processing methodology described herein may enable a controller of a robotic device to detect targets and/or obstacles that may be present during trajectory navigation by the device, e.g., 160 of FIG. 1.

FIG. 1 depicts a mobile robotic apparatus comprising a feature detection apparatus configured, e.g., in accordance with the exemplary implementations illustrated below. The robotic apparatus 160 may comprise a camera 166. The camera 166 may be characterized by a field of view 168 (e.g., an extent of the observable world that may be captured by the camera lens at a given moment). The camera 166 may provide information associated with objects within the field of view 168. In some implementations, the camera 166 may provide frames of pixels of luminance and/or color, refreshed at 25 Hz frame rate. However, it will be appreciated that, in some implementations, other frame rates may be used (whether constant or variable), as may other types of information provided by the camera(s) 166.

One or more objects (e.g., a floor 170, a stationary object 176, a moving object (e.g., ball 174), and/or other objects) may be present in the camera field of view. The motion of the objects may result in a displacement of pixels representing the objects within successive frames, such as is described in U.S. patent application Ser. No. 13/689,717 filed on Nov. 30, 2012 and entitled “APPARATUS AND METHODS FOR OBJECT DETECTION VIA OPTICAL FLOW CANCELLATION”, incorporated, herein by reference in its entirety.

When the robotic apparatus 160 is in motion, such as shown by arrow 164 in FIG. 1B, motion of the objects within the camera 166 field if view 168 (e.g., denoted by arrows 172, 178, 180 in FIG. 1B) may comprise the self-motion component and the object motion component. By way of a non-limiting example, motion of objects in FIG. 1B may comprise apparent motion 180 of the stationary background 176 and the boundary (e.g., the component 172 associated with the floor boundary); (ii) component 178 associated with the moving ball 174 that comprises a superposition of the ball displacement and motion of the camera; and/or other components. As noted previously, determination of the ball 174 motion may be particularly challenging when the camera 160 is in motion (e.g., during panning) and/or when the field of view is changing (e.g., when zooming in/out).

Using relative aspects of an image may allow mitigation of detection problems that may arise due to lighting variance. For example, the absolute color of the object and/or background may vary widely depending on illumination, but relative saliency may be preserved. These aspects of saliency may make it a useful perceptual input to an autonomous robotic platform.

In some, implementations, the saliency of an item (such as an object, a person, a pixel, and/or other) may be described by a characteristic by which the item may stand out relative to its neighbors. Saliency may arise from, for instance, contrast between the item and its surroundings, such as a black object on a white background, or a rough scrape on a smooth surface. For example, a salient vehicle may comprise a vehicle that may be moving differently (e.g., going slower/faster than the rest of the traffic, weaving from lane to lane) compared to the rest of the traffic. A salient object for target approach may comprise a stationary and/or moving ball on a moving background due to self-motion by the vehicle.

Saliency may be determined in a number of ways by analyzing input images represented in one of the typical ways (e.g., grayscale, RGB, YUV, HSV, and/or other color models). In some implementations, an input may be characterized by a spatial extent (e.g., an image or array of pixels) and by color and/or luminance. Saliency may be determined based on a likelihood characterizing the input. By way of an illustration, for an image I comprising a plurality of pixels i(x,y), saliency at a pixel location (x,y) may be determined based on a likelihood of occurrence of the pixel value i in the image I. Lower likelihood may correspond greater the saliency at the location (x,y), in accordance with some implementations.

The saliency may be determined using a back projection of the image pixel likelihood information. In some implementations, the saliency of individual pixels of the image may be characterized by the number of pixels representing the same exact value in the rest of the image. For example an 8-bit image may comprise 300000 pixels having value of 128 and 1000 pixels carrying value of 0. For such image, less frequently occurring pixels (e.g., with the value of 0) may be referred to as more salient.

In some implementations, saliency may be determined using a model statistics approach. For instance, a model of expected pixel distribution may be utilized. Parameters of a given pixel distribution (e.g., Gaussian, Poisson, uniform), may be determined. In some implementations (e.g., of Gaussian distribution) the color distribution model may be characterized by two parameters, e.g., mean and a standard deviation. Pixel with values outside a given range (e.g., outside range [m−N1×stdev, m+N2×stdev] may be regarded as salient, where m denotes mean pixel value, stdev denotes standard deviation, N1, N2 denote multiplicative parameters (e.g. selected between value of 2 and value of 6). In some implementations (e.g., of Poisson distribution) the color distribution model may be characterized by one parameter, e.g., expected value/variance. Model of pixel color distribution may be determined based on analysis of one or more prior images and/or using an expected color distribution for a given scene (e.g., images of the sky, images of grass, and/or other environment).

In some implementations, the saliency determination may be realized by one or more of the operations described with respect to FIGS. 2A-2B, and/or FIGS. 11-12. Pixel likelihood may be characterized by pixel occurrence frequency, e.g., histogram of pixel values for an image. For a given image I, e.g., 200 in FIG. 2A, histogram H of pixel values may be determined. In some implementations of a single channel images (e.g., grayscale) the histogram may be determined using single channel values (e.g., intensity). In one or more implementations a multi-channel images (e.g., RGB, YUV, HSV, and/or other representations) the histogram may be determined for individual channels and or multiple channels.

Using the image histogram H, a back-projection matrix B may be determined. Dimensions of the matrix B may comprise dimensions of the original image I. In some implementations, the back-projection B may be determined as follows: individual pixel b(x,y) of the back-projected image may be assigned a value equal to the value (count) in the histogram for the pixel value i(x,y) of the original image I at the location (x,y):

B[x,y]=H(I[x,y])  (Eqn. 1)

By way of an illustration, if a pixel at location (1,1) in the original image is of value i(1,1)=0, and there are 1000 pixels with values of 0 in the image, the corresponding values b(1,1)=1000 in the back-projected image B. For a binned histogram implementation, a pixel with a value within a bin range may be assigned the bin count value.

A saliency metric S may be determined from the back-projection B. In some implementations, the saliency metric may comprise a matrix determined as follows:

S[x,y]=1/(B[x,y]+C)  (Eqn. 2)

where C denotes a parameter configured constant or dynamically adjustable. In one or more implementations, the saliency metric may be determined as:

S[x,y]=C−B[x,y]/f(B)  (Eqn.3)

where f(B) may denote a norm operation. Other implementations may be utilized for a given level of target range and/or precision of saliency values.

In some implementations, determining a full histogram may be impractical, e.g., when pixels may comprise values in a very large space. For example, in 24 bit RGB (Red, Green, Blue) image may comprise 16.7 million possible pixel values. For most images every value of the image may correspond to a few (e.g., less than 1000 in some implementations) pixels. Determining the histogram for saliency in such case may be computationally taxing and/or may provide a weak signal, as the majority of pixels may be considered as salient (unique). To improve the dynamic range of such maps, binning may be used. That is, individual bins of the histogram do not correspond to a single value, but rather a range of values. The number of bins may be selected from the range between 2 and 10 per channel. For a 3-channel image (e.g., RGB, HSV or YUV) the total number of bins per image may be between 8 and 1024. A given bin may correspond to a range of values (e.g., [0 to 63] for bin 1 of 4-bins for 8-bit channel). Pixels with values falling within the bin range (or a bin with multiple ranges for a multi-channel histogram) may cause increment of the bin value (e.g., count).

Color spaces are often three dimensional. In these cases, the bins may correspond to cubes tiling the color space. In some implementations, the color space may be tiled uniformly in each direction (e.g., RGB color cube may be subdivided into 27 sub-cubes with individual sub-cube spanning ⅓ of individual dimension). In other color spaces (e.g., YCbCr, YUV, HSV, and/or other color spaces) where luminance may be represented separately from chrominance (color information), non-uniform binning may be employed. By way of an illustration, larger bins may be used to tile the luminance channel dimension; smaller bins may be used for chrominance channel dimensions. In some implementations, clipping the range for bins and/or dynamically placed bin edges may be used in order to enable control of the dynamic range of the saliency map for individual aspects (e.g., color channels) of the image. In some implementations, a single bin may be used for luminance channel with a plurality of bins for the chrominance channels. Saliency information derived from such implementations may be configured invariant to luminance changes.

FIG. 2A illustrates use of pixel likelihood information for detecting a feature in an image, according to one or more implementations. The image 200 in FIG. 2A may comprise an image obtained with a camera of a robotic device (e.g., 166 of 160 in FIG. 1) during navigation of a trajectory. In some implementations, the image 200 may comprise a previously recoded image that may be accessed from a storage medium (e.g., flash, optical, magnetic storage). Image 200 shown in FIG. 2A may comprise luminosity channel Y and two chromaticity channels U,V. The image 200 may comprise 320×240 pixels for Y channel, 160×120 pixels for each of U,V chromaticity channels. Pixel values for individual (YUV) channels may be characterized by 8-bit resolution thereby corresponding to pixel value range between 0 and 255. In some implementations, the image 200 may comprise an RGB color space image comprising 320×240 pixels for individual red (R), green (G), and blue (B).

The image 200 may be characterized by a 3-dimensional color space (e.g., cube 206). The color space 206 may be partitioned into one or more bins, e.g., 256 bins in the implementation illustrated in FIG. 2A. Luminosity channel may be partitioned into 4 bins, U,V chromaticity channels may be partitioned into 8 bins each. Histogram of the image 200 may be determined as shown by arrow 202 in FIG. 2A. Pixels of the image 200 may be analyzed and assigned to one of the bins of the binned color space, thereby producing pixel likelihood distribution (the histogram). A back projection 210 of the likelihood information onto the image space may be determined (as shown by arrow 204 in FIG. 2A). In some implementations, the back projection determination may comprise, for a given location (x,y) in the image 210, assigning a value corresponding to value the histogram bin that corresponds to the pixel at that location (x,y) in the original image 200. In some implementations, the back projection 210 may be scaled to a given e.g., 8-bit range, using the following transformation:

B1(x,y)=256−B(x,y)/C

As may be seen in FIG. 2A, majority of the pixels in the back-projected image 210 are assigned a value corresponding to black color. A portion of pixels are assigned a value corresponding to gray color; a smaller portion of pixels (e.g., denoted by arrow 212 in FIG. 2A) are assigned value corresponding to white. The white area in the image 210 in FIG. 2A may be referred to as salient. Relating image 210 to the original image 200, white pixels in image 210 correspond to color of red hues (V>0 in YUV color model) in the image 200. Black pixels in the image 210 may correspond to green colors (V<1, U<0.5 in some implementations of YUV color model) in the image 200. In some implementations, salient area (e.g., 212 in image 210) may be determined based on occurrence of a plurality pixels with sufficient saliency (e.g., saliency greater than a given threshold of e.g., 95%) proximate to one another. A plurality of proximate pixels may be amalgamated to produce a salient area. Number of the proximate pixels (salient pixel neighborhood) may be selected from a range that may correspond to 0.002% and 2% of a given image dimension. By way of an illustration, for an (x,y) image with x-dimension of 1000 pixels and y dimension of 2000 pixels, salient pixel neighborhood may correspond to between 2 pixels and 20 pixels in x-dimension and between 4 pixels and 40 pixels in y-dimension. Pixel saliency may be determined based on pixel likelihood be in in a target range. In some implementations, the target range may be selected to correspond to between 5% and 0.01% least likely pixels in the image.

In some implementations, saliency map produced based on analysis of pixel value likelihood (e.g., using Eqn. 1) may comprise two or more areas of high saliency. FIG. 2 illustrates saliency map comprising multiple salient areas determined based on pixel likelihood determination, according to one or more implementations. Image 220 in FIG. 2B may be obtained by a robotic device (e.g., 160 in FIG. 1) during task execution. In some implementations, the image 220 may comprise 320×240 pixel matrix for luminosity Y channel, 60×120 pixel matrices for individual ones of U,V chromaticity channels. Pixel values for individual (YUV) channels of image 220 may be characterized by 8-bit resolution thereby corresponding to pixel value range between 0 and 255. Image 220 may comprise a target object (e.g., 222 in FIG. 2B).

Saliency map image 230 may be obtained using back-projection of the image 220 histogram determined using, e.g., 256 bins (4,8,8), respectively, of YUV color space. Areas corresponding to low pixel value occurrence likelihood (e.g., bin count in the histogram below 10%) may be identified as salient (e.g., areas 232, 234, 236 in FIG. 2B). Area corresponding to the target object of interest (e.g., the ball 222) may be determined. The target object area may be determined based on analysis of color distance, e.g., as described below with respect to FIG. 3, analysis of motion, circularity analysis (e.g., as described below with respect to FIG. 4), and/or other approaches.

In some implementations, saliency information may be determined based on analysis of difference between a value of a pixel and values of pixels in a surrounding region. In some implementations, an image I may be convolved with a low-pass kernel (e.g., a Gaussian kernel) to create a low-passed image F. In some implementations, wherein the image I may comprise 320 pixels by 200 pixel matrix with pixel density of Z pixels per mm, the low pass filter half power (e.g., 3 dB) dimensions may be selected between 7 and 50 pixels. It will be recognized by those skilled in the arts that various filter implementations (e.g., exponential, Chebyshev, Hamming) may be utilized with the saliency determination approaches described herein. In some implementations, filter x-dimension may be selected different from the y-dimension. Filter dimensions may be adjusted in accordance with operational task characteristics, e.g., image size, resolution, pixel density, potential target size, amount of noise in the image. By way of an illustration, a lower resolution/lower pixel count image may correspond to a smaller filter size when expressed in terms of pixels; higher resolution/greater pixel count image may correspond to a larger filter size when expressed in terms of pixels.

Saliency map S may be determined by assigning to individual pixels a distance measure between value of the pixel in the original image I and value of the pixel (at the same location) in the low-passed image F. In some implementations, the saliency map may be expressed as follows:

S[x,y]=d(F[x,y],I[x,y]),  (Eqn. 4)

where F denotes the low passed version of the image I, and d( ) denotes a distance metric.

In some implementations, a pixel characterized by a greater distance (e.g., pixel having a value that is further than an average value of its surround) may be referred to as (more) salient, compared to pixels whose values may be closer to the average surround value. The distance metric d( ) may comprise a Euclidean distance (e.g., determined on the values of pixels), some form of rectilinear distance (e.g., sum of absolute values of differences between respective dimensions, e.g. Y, U, V values of the pixel). In some implementations, distance determination may be configured to emphasize or suppress one aspect (e.g., luminance) vs another aspect (e.g., chrominance). By way of an illustration, distance determination may be configured to utilize chrominance without using luminance.

In some implementations, saliency may be determined based on other aspects of the image, e.g. dominant orientation of features across an image. The orientation may be characterized by a set of parameters including one or more of angle, phase, frequency, contrast, and/or other parameters. An orientation map (also referred as feature orientation distribution) may be generated from the original input image whose pixel values may convey information related to orientation property (e.g., angle) of the original image. In some implementations, the orientation map may be determined based on convolving the initial image (e.g., 200 in FIG. 2) with a plurality of directional filters. Individual directional filters may comprise a spatial mask characterized by a preferred direction (e.g., 0°, 45°, 90° and/or other direction). The mask size may be selected between 3×3 pixels and 31 by 31 pixels when processing the image 200 comprising 320×200 pixels. Larger masks may be used when processing larger image sizes. In one or more implementations, the orientation map may be determined using local spatial frequency transformation (e.g. spatial Fourier transform over an area of an image). The orientation map may comprise values indicating most active filter (e.g., filter index with greatest convolution magnitude). The orientation distribution may be analyzed to produce saliency information by, e.g., using orientation likelihood, pixel distance and/or other approaches. In some implementations, orientation distribution may be configured based on an index of activated spatial filter (e.g., filter with predominantly vertical sensitivity may be assigned index value of 1, filter with predominantly horizontal sensitivity may be assigned index value of 3, and/or other index implementation). Analysis of the orientation distribution may comprise for example determining least frequently activated filter, e.g., by determining least frequently occurring index. In some implementations, the analysis may comprise sorting of the orientation map entries. Saliency information determined from the orientation map may reflect anomalies based on orientation aspects of group(s) of pixels the original image.

The saliency detection methodology described herein may be applied to a sequence of images. Saliency may be determined based on a difference (also referred to motion saliency) between consecutive images in the sequence. In some implementations, optical flow. e.g., a vector field representing direction and/or velocity of motion of pixels between successive frames, may be used for determining motion saliency. A variety of approaches may be used for estimating motion from a sequence of images. Motion information may be presented as a two dimensional motion vector map. The motion vector map may be regarded as an image; individual vector components (e.g., x motion y motion) may be regarded as image channels. Motion information may be processed in order to determine saliency using, e.g., methodology described herein. In some implementations, global/local statistical analysis along individual and/or a combination of individual motion channels (e.g., x-motion, y-motion, motion magnitude, motion direction, and/or other parameters) may be used for saliency determination. Analyses of motion information may reveal anomalies and/or indicate motion saliency.

In some implementations, wherein images may be obtained from a moving platform, majority of the motion may comprise motion along a particular direction (e.g., corresponding to the direction of motion of the camera). Such motion may be referred to as the background motion. An independently moving object may be perceived as salient. In some implementations, a robotic device may control its movements and/or observe the environment through a camera. Certain motor commands (e.g., forward, left-turn) may be associated with particular motion flow fields (e.g., left-turn command may generate a relatively uniform motion flow towards right). Observed features of the motion field may be used for saliency detection. By way of an illustration, for a given motor command (e.g., left turn), deviation from an expected motion field (e.g., predominant motion to the right) may comprise salient features. For example, if a robotic agent is moving forward, a motion field origination from the direction of motion and radially expanding towards the sides (looming) may be expected. A convergent portion of the motion flow field may indicate an object moving away from the robotic agent. Such object may be marked as salient in some implementations (e.g., when the agent is supposed to follow a moving target).

In some implementations (e.g., comprising distance to object measurement using LiDAR, ultrasonic range finder, stereo imager, structured light time of flight measurement, other approaches), saliency information may be determined based on analysis of distance to objects (also referred to as depth. A object disposed at a distance that may differ from the rest of the scene may be referred as salient. Depth-derived saliency map may be utilized for navigation of autonomous flying drones for detection of obstacles.

Saliency may be used to identify the presence of objects in visual scene. In some implementations, additional information may be utilized for identifying object(s) of interest. Combining the saliency with object identity masks may allow for robust tracking, even in relatively complex conditions for object recognition. In some implementations, feature tracking and/or object tracking may comprise priming the tracking process by exposing an object of interest (e.g., ball) to the sensor (e.g., digital camera) configured to provide information to the tracking process. The priming may correspond to one or more digital images (priming images) that may be available to the tracking process. Saliency determination processing may be applied to the priming images in order to determine a salient feature within the one or more priming images. The tracking process may be configured to track the salient feature through one or more images subsequent to the priming image(s), the tracking configured based on an occurrence of a similarly salient feature in an image subsequent to the priming image. The saliency similarity may be configured based on a parameter used for determining the salient feature in the priming image(s). By way of an illustration, when pixel color may be used for determining salient feature in the priming image, subsequent images may be analyzed to determine saliency based on the pixel color; when color distance may be used for determining salient feature in the priming image, subsequent images may be analyzed to determine saliency based on the color distance color. Other parameters (e.g., orientation, circularity, shape, motion, color surface fill, physical distance, motion flow, locality, kinematic mask), a combination thereof and/or other parameters may be utilized for saliency determination, as described herein. In some implementations, tracking process may be provided with information related to motion of the sensor (e.g., the camera 166 of vehicle 160 in FIG. 1). Motion information may be utilized in order to adjust salient area location in accordance with camera motion (e.g., when panning, turning, and/or other maneuvers).

In some implementations, objects may be characterized by color. Color alone, however, may not be sufficient for feature tracking due to changes in absolute value of the object color due to, e.g., illumination changes, object orientation, and/or other causes. To illustrate, a red ball on an orange carpet may become brown when in shadow. In fact, the orange carpet may become red in the shadow. Relying only on absolute color value in this case may lead to substantial errors in object detection and/or tracking.

In some implementations, color information may be sufficient to distinguish between the object of interest and other salient objects (if present). By way of an illustration, the red ball may likely remain the most salient object whether in shadow or not. Among the salient objects detected on the floor, it may likely still be the reddest. A tracking method comprising color saliency evaluation may lead to much better tracking performance, compared to methods that to not employ saliency.

In some implementations, color distance may be used for determining silent objects. Color distance may be determined in a number of ways, depending on the image representation. In some implementations, Euclidean distance in the color space may be used. In one or more implementations, a rectilinear distance in a multi-dimensional color space may be used, e.g., as follows:

d(A,B)=Σ_(i=1) ^(N)α_(i) |A _(i) −B _(i)|  (Eqn. 5)

where A, B denote images and/or image channels, and parameters α_(i) denote weighs configured to emphasize and/or suppress given channel(s) over other channel(s), N denotes number of channels. By way of an illustration of analyzing an image configured in YUV color space, distance in the luminance channel may be taken with a smaller weight compared to the distance in the chrominance channels

FIG. 3 is illustrates use of color distance for determining a salient feature in an image shown in FIG. 2A, according to one or more implementations. Distance data shown in FIG. 3 may be determined for example using a rectilinear (e.g., Manhattan) distance comprising a sum of absolute values of differences between components (e.g., YUV) of a given pixel and the reference pixel). Contribution of the luminance channels to the distance may be scaled, e.g., by a factor of 8. Individual channel contributions may be combined using 8-bit saturating addition, e.g., configured such that the sum may take maximum value of 255. By way of an illustration, sum of 140 and 115 may produce value of 255, while sum of 150 and 160 may produce value of 255. The image 300 in FIG. 2A may comprise features of a plurality of colors. Object 302 may correspond to an expected target for a given task (e.g., task of collecting orange balls, white golf balls, and/or other task). A reference color 308 may be used to determine color distance for pixels of the image 300. Color reference 308 may comprise a single pixel, or a matrix. In one or more implementations, the distance computation may be effectuated using Eqn. 5, wherein image A may comprise the image 302, image B may comprise the color reference 308. Image 310 in FIG. 3 depicts color distance image determined from the image 300 using Manhattan rectilinear distance determination. Weights α_(i) in Eqn. 5 may be configured as follows to obtain the image 310: luminosity channel weigh may be selected equal 0.125, U,V chromaticity channel weights may be selected equal 1.0. Area denoted 312 in FIG. 310 may correspond to lowest distance and denote object of interest. In some implementations, salient object detection may be improved by combining color pop-out mask (e.g., the image 210 in FIG. 2A) and the color distance mask (e.g., image 310 in FIG. 3). In one or more implementations, the combination may comprise a pixel-wise multiplication of matrices 210, 310.

Various approaches may be employed in order to determine the reference color (e.g., 308 in FIG. 3) used for color distance mask determination. In some implementations, e.g., such as illustrated in FIG. 3, the reference color may be determined as a prevailing (e.g., mean, median, and/or another statistical measure) color in area 212 corresponding to high saliency determined using color likelihood analysis, e.g., such as described herein. The reference color determined from, e.g., color mask 210 may be utilized for determining the color distance, e.g., presented in the image 310.

An object may comprise one or more color surfaces (i.e., areas of similar color and reflectance). A color surface may be salient when it is sufficiently distinct from the background and/or surrounding surfaces. In some implementations, determining a pixel and/or a group of pixels with the highest value of color saliency may be used for identifying salient color surface. In some implementations, determining spatial extent (mask) of the salient color surface may be used for determining a statistical parameter of colors (and/or reflectance) in the salient color surface. The statistical parameter may be used for determining of the color distance between the most salient color surface and the other ones, and/or to better track the salient object as it moves in the environment. For example, the mask of the most salient color surface may be used for choosing the color prototype used in the color distance. In some implementations, the statistical parameter may comprise prevailing color (e.g., median), least frequently occurring color (e.g., below 1% to 5%), and/or other parameter.

In some implementations, the mask of the most salient color surface may provide information related to an apparent size of the salient object, and/or a relative distance to the salient object. By way of an illustration, when the area of the color surface increases, it may be more likely that the object becomes closer to the viewer, or becomes less occluded by other objects.

In order to determine the mask extent (the region of the visual field) occupied by the most salient color surface, the following algorithm may be used, according to some implementations. Location of the high saliency area in saliency map (e.g., area of low likelihood (e.g., less than 10%) pixels of a given minimum size (e.g., 100 pixels) in FIG. 2A) may be determined. In one or more implementations, the saliency map may be determined based on color saliency (e.g., image 210 in FIG. 2A), or determined by multiplicatively combining multiple saliency maps as described below. In some implementations, saliency map may be blurred, e.g., by using Gaussian blur filter. In order to determine location of the salient area (target object), a threshold may be applied to the saliency map. In one or more implementations, the threshold may comprise a pre-determined value in sample space (e.g., pixels with occurrence count below 2000 may be deemed as silent; a pre-determined derived value (e.g., least frequently occurring 1% of pixels may be deemed as silent), and/or other threshold approaches. In some implementations, the threshold level may be determined dynamically based on analysis of one or more preceding images. In one or more implementations, the threshold may be configured to maximize classification success rate and/or ratio (e.g., percent correct ratio of true positives to false positives, and/or other classification performance metrics). In some implementations, the threshold may be configured based on an evaluation of pixel distribution (e.g., shape of the histogram). In one or more implementations, the threshold may be defined as a function of the skewness of the pixel distribution (e.g., histogram). The threshold may be configured based on a percentile of the distribution, and/or a combination of max( ) operation of a given value and a percentile, and/or yet other factors. In some implementations, the max( ) operation may be configured to produce an output determined as a maximum value of a sample comprising (i) a given value (e.g., 1,000,000 pixel counts) and (ii) a percentile value corresponding to the histogram (e.g., 99% value equal 950,000 pixel counts in some implementations). Location of the target may be expressed as a Boolean mask.

In some dynamic saliency threshold implementations, the saliency threshold may be gradually decreased below the peak value, to produce an increasingly large contour around the saliency peak. The threshold lowering may be terminated when the chroma range within the contour exceeds a predetermined numerical value minmax_UV. In YUV color coordinates, the chroma range may, for example, be defined as max(max(U)−min(U), max(V)−min(V)). In YUV coordinates, where U and V may be between 0 and 255, the allowed minmax_UV may have values between 20 and 40. Larger minmax_UV values may allow for a greater color variance within a color surface; that is, the algorithm may be more likely to treat adjacent areas of similar chroma as one color surface rather than as distinct color surfaces.

Tracked objects may be characterized by shape. In some implementations, object circularity analysis may be employed for target detection. Circular shapes may be characterized by symmetries and rotational invariances. In some implementations, detection of circular shapes may be based on Hough moments. In one or more implementations circularity analysis may comprise the following operations:

-   -   obtain a saliency e.g., using a color pop-out map 210 in FIG.         2A, or via threshold on the color distance (e.g., 310 in FIG.         3), or combination thereof), threshold the saliency map;     -   apply threshold to the saliency to obtain outlines of potential         objects;     -   determine one or more contours of the potential objects using         output of the threshold operation;     -   for individual contour, determine the smallest enclosing circle,         using, e.g., opencv library, described in         http://docs.opencv.org/modules/features2d/doc/common_interfaces_of_feature_detectors.html?highlight=circularity,         the foregoing being incorporated herein by reference in its         entirety;     -   determine a ratio between the area of the contour and the area         of the smallest enclosing circle (this ratio may be referred to         as the circularity ratio r); and     -   apply a transformation to the circularity ratio to obtain a         circularity parameter cp; in some implementations, the         transformation may comprise a power operation (e.g., r²); such         transformation may be used to control the dynamic range of the         circle detection. By way of an illustration, squaring the         circularity ratio r may reduce circularity parameter for less         circular shapes (e.g., wherein cp<1) thereby facilitating         circular shape detection.

Object circularity analysis may be utilized for determining a saliency map as follows:

-   -   an empty circularity map H may be provided (e.g., an array         initialized with default values, of e.g., 0);     -   determine a plurality of contours using thresholding of a         saliency map (determined using any applicable methodology         including these described herein);     -   for individual contours, determine circularity parameter;     -   sort contours in an increasing order with respect to the         circularity parameter; and     -   for every contour in the original heat map, draw the smallest         enclosing circle of that contour on heat map H. Alternatively         draw the contour itself on the heat map H.     -   The intensity of the fill of the drawn circle (contour) should         be proportional to the circularity parameter.

FIG. 4 illustrates an exemplary circular object detection process, comprising determination of feature circularity, according to one or more implementations. Operations described with respect to FIG. 4 may be performed when tracking a ball 174 in FIG. 1 with a robotic vehicle (e.g., 160 in FIG. 1). Image 400 may correspond to an image obtained with a camera of the vehicle. Image 400 may comprise 320 by 200 pixels configured using YUV color space and collected at 25 frames per second. The image 400 may be obtained using, e.g., a CMOS sensor comprising 1.5 μm generation pixels disposed on a die measuring 4.8 mm×6.1 mm (29.3 mm2). The sensor output may be down-sampled to a lower resolution (e.g., 320×200) for processing. Images 400 may be processed online (e.g., in real time) or stored for off-line processing. It will be appreciated by those skilled in the arts that above image configuration represents an exemplary implementation, and other image configurations may be realized (e.g., with smaller or greater pixel count and/or pixel size), and/or other alterations. Furthermore, use of smaller pixel size and greater number of pixels may correspond to an object representation comprising greater number of pixels; use of greater pixel size and smaller number of pixels may correspond to an object representation comprising fewer pixels. Furthermore, pixel neighborhood dimensions may be adjusted accordingly with the pixel count and/or size when determining salient area in an image.

Image 410 may denote motion based saliency map determined from motion analysis (denoted by arrow 406) between two or more successive images (e.g., 400 and an image taken at another instance in time). Motion-based saliency may be configured based on confidence of motion estimation. Different shades in image 410 may denote motion detection confidence. e.g., white area 414 denoting 100%, black denoting 0%, and grey (e.g., 412) denoting an intermediate value, e.g., 0.67).

Image 410 may denote information obtained using a kinematic tracker process. By way of an illustration, area denoted by arrow 406 may denote a kinematic prior (e.g., corresponding to a location of an object at a prior time). The kinematic prior may be used to increase probability associated with object occurrence at that location in present image.

Image 420 may denote saliency map determined based on color distance determination, e.g., as described above with respect to FIG. 3. Hashed area 422 may correspond to lower values of color distance compared to area of solid fill (e.g. 424).

Image 426 may denote saliency map determined based on color likelihood analysis (denoted by arrow 408) of the image 402, e.g., color histogram as described above with respect to FIG. 2A. Hashed area 428 may correspond to lower values of occurrence (likelihood) of given color(s) compared to area filled with black.

Image 434 may denote saliency map determined based on a combination of the color distance map 420 and the color likelihood map 426. In some implementations, the combination may comprise a pixel-wise multiplication operation (denoted by arrows 430, 432) between masks 420, 426. Hashed area 436 may correspond to greater values of saliency compared to area of solid fill (e.g. 424).

Image 440 may denote saliency map determined based on contour circularity analysis of saliency map 434. In some implementations, the circularity analysis may comprise a threshold operation, determination of one or more contours, and determination of a ratio between contour area and the area of the corresponding minimal enclosing circle. Hashed area 442 in image 440 may denote area of high saliency

In some implementations the identity of the tracked object may be estimated by tracking the motion of elements (features) of the object from its current position to a new position. Motion information may comprise noise component, particularly in complex environments wherein multiple moving objects may be present. Motion estimates obtained from successive image frames (e.g., between 2 and 4 at 25 fps) may provide accurate object position that may be used as prior information to identify the object of interest (particularly given a strong saliency map that filters out much of the background).

In systems equipped with depth sensors (e.g., structured light sensor for measuring time of flight, stereo camera for determining optical disparity, LiDAR sensor, RADAR, ultrasonic, and/or other sensor technologies capable of providing range to object) distance information may be utilized for detecting and/or tracking the object of interest. A given a saliency map may comprise multiple areas of high saliency (e.g., as shown in image 230 in FIG. 2B) corresponding to one or more objects (e.g., 174, 176 in FIG. 1) and/or features. Individual features may be disposed at different distances from the sensor (e.g., distance between objects 174, 176 and the camera 166 in FIG. 1), and/or distance to features 236, 234 in FIG. 2B. For images obtained in close proximity to one another (e.g., 2 fps to 60 fps for a vehicle speed between 0.01 and 2 m/s) distance to a target object may be expected not to change substantially between successive images (e.g., for a relative speed of 1 m/s between a target and the camera, images acquired 0.1 s apart may be expected to produce object distance shift of about 0.1 m. Saliency map may be combined with the distance information and object may be discarded from the saliency map based on changes in distance that may exceed expected distance change range. Combining distance information with saliency information may simplify object tracking task and reduce number of false positives.

The combined saliency information (e.g., multiple saliency maps pertaining to different channels/modalities combined via additive or multiplicative or hybrid methodology, with additional maps detecting distinguishing features of the object, e.g. color)) may be used to provide object location in the image (e.g., location 402 in the image 400). This may also be referred to as object tracking or object tracker.

Objects and/or physical environment of the robot may be characterized by continuous behavior in time. Therefore, the tracked object may be unlikely to suddenly disappear from its current location and/or reappear at another location. Environment continuity may be exploited by assigning an identity signal close to the previous known location of the object. In some implementations, involving a kinematic mask, a motion estimate of the object may be determined based on two or more last known previous locations to give an estimate of the next location. A saliency map of expected object location may be provided, which may be integrated with other sources of information described herein.

Temporal continuity of object and/or environment between time instances t₁, t₂ may be utilized for constructing saliency map S₂ at time instance t₂ based on saliency map S₁ obtained at time instance t1. In some implementations the saliency map S1 may be combined via a convex combination with the newly obtained saliency map S₂′ to create the final map S₂. In some implementations, the final map S2 may be obtained as follows:

S ₂ =αS ₂′+(1−α)S ₁.

Such methodology allows to mitigate certain transient noise (e.g. thermal camera noise) at a cost of providing lower signal in rapidly changing environments (where frame to frame true variability of the environment is large, e.g. in a very fast-moving robot).

In some implementations, histogram back projection may be used to provide evidence for the object tracker. As used herein the term tracker may be used to describe a process realized on a computer and/or other digital and/or analog hardware configured to produce, based on analysis of an image, a set of coordinates reflecting a position of an object in the image and/or object coordinates referenced to a sensing field of the image sensor (e.g., camera view field, sonar/radar sensing area.

A histogram of color channel (or multiple channels, or channels encoding other features than color) may be determined in the area where the object is present. In subsequent steps, a heat map may be generated by back-projecting the counts of the bins back into the pixel space (that is every pixel in the heat map is proportional to bin count to which the original pixel in the image belongs). In some implementations, the histogram back projection may be determined only on chromatic channels (containing color information) to make the method tolerant to luminance changes. In some implementations back projection may be performed independently for individual chromaticity (or other feature) channels. In some implementations, the resulting heat map may be obtained by additive, multiplicative, or hybrid integration (e.g., as described below).

In some implementations, spatial constraints may be provided as an input into the tracker. Use of prior spatial information may substantially (e.g., by eliminating 50% or more of false positives) improve tracking performance. For example, in some applications a given location within the sensing field (e.g. image in camera sensor implementations) may be characterized by frequent presence of objects other than the object of interest. These extraneous objects/features may also be referred to as distractors. The object of interest may rarely (relative to the distractors) appear at the given location. In such case, a prior spatial probability of appearance map may be determined and incorporated into the tracking process in order to reduce the likelihood of false object detection at the given location. In some implementations, the prior spatial map may be used to enhance object detection on one or more areas.

In some implementations, a pattern may exist in a spatial area where the object of interest may appear. Such pattern (e.g., green lawn) may be known in advance in some applications, while in some applications (e.g., location of a road in an image, location of vehicles of a given color in a mining pit) may not be known in advance. The tracking process may integrate information about where the objects were detected to enhance generate additional prior saliency map. Incorporation of the prior saliency map into object tracking process, may reduce the number of false positives in the area where the object of interest may be less likely to appear.

Some existing implementations of computer vision trackers use user input (e.g., via mouse/keyboard) in order to provide an initial target and/or target location (e.g., initial bounding box around the tracked object). Such approaches may not be well suited for autonomous operation, e.g., autonomous vehicles, and operating devices (e.g., robotic appliances) that may not be equipped with a screen and input device.

According to one or more implementations, object tracker of the disclosure may use the saliency mask in order to locate an object of interest. The saliency mask may be used to prime/initialize one or more object trackers. In some implementations, the uninitialized tracker may be configured to determine the saliency map using one or more approaches described herein (e.g., color saliency map). The uninitialized tracker may identify one or more candidate objects (salient areas) and select a target object. In some implementations, the target object may be selected based on largest area of given saliency (e.g. greater than 90%), and are containing highest saliency (peak area), are containing most saturated color, and/or a weighted combination of multiple selection criteria.

Once the initial target area is selected, additional tracker parameters may be configured. A color reference (e.g., 308 in FIG. 3) for color distance determination may be selected. In some implementations, one or more individual colors that may occur within the target area may be tested for discriminability of determining the target versus background using color. The discriminability may be determined using color distance above a given threshold. A given color from the target area which maximizes discriminability (e.g., greatest color distance to the background) may be selected as the reference color.

Further, once the reference color has been chosen, color distance threshold may be determined. In some implementations, a plurality of color distance maps may be determined for a plurality of reference color/threshold combinations. The color/threshold combination corresponding to greatest discriminability (e.g., greater cumulative over a given area color distance to a reverence color) may be selected.

A variety of approaches may be used for determining initial target area. In some implementations, a combination of colors and/or other features may be used. By way of an illustration, motion saliency map may be used to determine the initial target area. To facilitate motion based tracker initialization, the object of interest may be moved back and forth in front of the camera. In some implementations, a distance saliency map may be used to prime the tracker, in which case the object a substantially different distance (e.g., closer) than others may be selected. In some implementations, a weighted combination of a plurality of saliency masks may be used to select the most salient object for tracking.

In some implementations, the identity of the tracked salient object may be estimated via computation of color distance, between the pixels representing the salient object and a previously initialized color prototype.

In some implementations, the saliency mask representing a number of salient objects in the scene may be modified morphologically to connect close by components which are likely representing a single salient object (e.g. a colorful ball, obstructed by a black cable which subdivides the salient region into two close by regions). The amount of such morphological connection may be such that pixels closer than 2% of the larger image dimension will be connected.

A number of colors may be selected in order to track the identity of an object. In some implementations, a clustering algorithm may be employed to determine one or more colors (e.g., a set of colors) that may correspond to the object. In one or more implementations, individual colors for the color set may be selected based on a distance from a given color (e.g., most distant colors within a color space from the background). In some implementations, colors with saturation value above a threshold (e.g., greater than 70% saturation) may be selected. In some implementation, two or more color selection methods may be combined, e.g., the clustering technique may be applied to output of color saturation analysis and/or color distance analysis in order to determine colors for the set of colors used in tracking.

In some implementations, the color distance to multiple color prototypes may be computed for every contour (or a subset thereof) in the saliency mask. The likelihood that the salient object is that which should be tracked may be estimated as inversely proportional to the max( ) operation over minimal distances over the contour, for one or more colors in consideration:

P(c)˜1/dmax; dmax=max(min(d _(i))),  (Eqn. 6)

where d_(i) is the color distance for a given pixel within the contour.

For example, if one of the distances to color prototypes for a given contour is larger than distances associated with other contours (e.g. such color is missing from the object), it may be picked by the max( ) operation and may lower the likelihood of the object detection for the given contour. By way of an illustration, object detection in contour C1 and contour C2 may be performed as follows. A minimum color distance d1 of pixels within the contour C1 to a reference color in 3-channel color space may comprise d1={10, 15, 12}; minimum color distance d2 of pixels within the contour C2 to the reference color in 3-channel color space may comprise d2={20, 10, 50}. Maximum operation applied to set d1 may produce a value of 15; maximum operation applied to set d2 may produce a value of 50. In accordance with Eqn. 6, likelihood of detection of the object in the contour C2 may be reduced relative likelihood of detecting the object in the contour C1. It will be recognized by those skilled in the arts that max( ) selection operation comprises one exemplary implementation. Other means of combining individual distances may be used consistent with the present disclosure, e.g. mean, median, Euclidean distance, L1 norm, or combinations of the foregoing.

In some implementations, a number of colors not belonging to the target may be acquired in the priming phase to provide negative evidence for object detection. In such case, the detection of one of those colors within the saliency area will decrease the likelihood of that area being determined as the object of interest.

In some implementations, the “negative” colors may be sampled randomly under the constraint of being as far as possible in the color space to positive colors examples (those detected on the priming object). In some implementations, the term positive color may be used to describe colors that may correspond to the object with high probability (e.g., greater than 90%). The term negative color may be used to describe colors that may be absent from the object with high probability (e.g. greater than 90%).

In some implementations, the negative colors may be selected from the background (non salient area of the priming image), to maximize discriminability between the object and the background.

In some implementations, a single parameter may be computed to indicate the distance to all the negative example colors. In some implementations, that parameter may be computed as the max of min, mean, median, Euclidean distance, L1 norm, and/or any combination thereof.

In some implementations, the negative evidence parameter may be subtracted from the positive evidence parameter to determine the likelihood of object detection. In other implementations, a set of logical statements and thresholds may be used to determine object detection likelihood. By way of an illustration, negative color information may be combined with the contour distance information as follows. A minimum color distance d1 of pixels within the contour C1 to a reference color in 3-channel color space may comprise d1={10, 15, 12}; minimum color distance d2 of pixels within the contour C2 to the reference color in 3-channel color space may comprise d2={20, 10, 50}. Distance to a color that is deemed as absent from the object (negative color) may be determined as 5 for the contour C1 and 100 for the contour C2. A difference operation may be used to combine the positive color distance and the negative color distance to determine likelihood of the object detection as follows:

P2(c)˜min(dmax^(j) −dneg ^(j)); dmax=max(min(d _(i))),  (Eqn. 7)

where dmax^(j) denotes largest of minimum color distances for contour j, and dneg^(j) denotes smallest negative color distance for contour j.

The difference term of Eqn. 7, determined for contour C1 is 10, while difference term of Eqn. 7, determined for contour C1 is −50. According to Eqn. 7, the likelihood of the detecting the object at the contour C2 may be increased relative the likelihood of the detecting the object at the contour C1.

FIG. 5 illustrates use of a saliency map configured based on color likelihood analysis of an image as the priming map for detecting salient feature, according to one or more implementations. Map 500 in FIG. 5 may be obtained based on analysis of likelihood of occurrence of pixel color in an image (e.g., image 200 in FIG. 2A). Map 500 may be obtained using histogram operations described above with respect to image 210 of FIG. 2A, in some implementations. Saliency may be configured inversely proportional to frequency of occurrence of a given color in the image 200. The map 500 may comprise one or more areas of high saliency (e.g., the area 502). The map 500 may comprise areas of intermediate saliency (e.g., the gray areas 504). In order to increase signal to noise ratio, and/or reduce probability of false detections, the map 500 may be spatially filtered in order to reduce and/or altogether remove smaller areas of low saliency. In some implementations, the filter may comprise a Gaussian 2-dimensional mask of 9×9 pixels for an image of 320×200 pixels. A threshold may be applied to the filtered map (or to the map 500 in some implementations) in order to remove areas of low saliency. In some implementations, the threshold may be configured to remove areas with saliency measure below 70%. As may be seen from map 510 in FIG. 5, the high saliency area (502 in map 510) is preserved through filtering/thresholding operations, while smaller areas of lower saliency (504 in map 500) are absent in the map 510 thereby improving reliability of detection of the salient area 512. The map 510 may be utilized for determining the reference color, which provides greatest distinguishability of the target object from the surrounding background.

Saliency maps (obtained using a variety of approaches) may be combined in order to improve detectability of an object/feature. Detectability improvement may be characterized by, e.g., a reduced number of false positives (e.g., an area deemed as silent that does not contain the target object) by the object detection process.

In some implementations, two or more saliency maps may be combined multiplicatively to produce a combined map representing the likelihood of presence of the object of interest. Individual maps H_(i) may be characterized by a scalar parameter c_(i) signifying the confidence of the respective map. Given confidence c_(i)ε[0,1], saliency maps Si may be combined multiplicatively as follows:

C=Π _(i=1) ^(n)[(1−c _(i))+S _(i) c _(i)]  (Eqn. 8)

where S_(i)(x,y)ε[0,1]. In one or more implementations a saliency map characterized by low confidence (e.g., c=0) may contribute a constant equal to 1 in the product of Eqn. 8, therefore may not change the relative saliency of one area over another area in the resultant map C. A saliency map characterized by greater confidence (e.g., c=1) may contribute substantially to the resultant map C. In some implementations, a saliency map may be obtained as function of another saliency map. By way of an illustration, a map determined based on circularity analysis (e.g., as described above) may be obtained based on the color saliency map.

FIG. 6 illustrates use of multiplicative combination of multiple saliency maps for detecting a target object/feature according to one or more implementations. Individual saliency maps may be obtained using a variety of methods, including these described herein. Saliency maps 600, 610, 620 shown in FIG. 6 may be obtained using, e.g., pixel occurrence likelihood analysis (e.g., described with respect to FIG. 2A), using motion analysis (e.g., described with respect to map 410 of FIG. 4, and using color distance analysis, such as e.g., described with respect to map 310 of FIG. 3 above. The maps 600, 610, 620 may be combined multiplicatively, e.g., using formulation of Eqn. 8 depicted by arrow 618 in FIG. 6. The combined saliency map 630 may be characterized by an increased signal-to-noise (increased saliency) associated with the area comprising 632 the object of interest relative its surroundings (e.g., 634) compared to the saliency of the areas 602, 612, 622 in the maps 600, 610, 620, respectively.

In one or more implementations, saliency map C may be determined based on a weighted sum (e.g., weighted average) of two or more individual saliency maps S_(i) as follows:

C=Σ _(i=1) ^(n)α_(i) S _(i)  (Eqn. 9)

where α_(i) denote weighting parameters.

In certain applications, a fusion of additive (e.g., of Eqn. 9) and multiplicative (Eqn. 8) saliency map combination techniques may be used. Certain saliency maps may provide capability to exclude certain locations in the image from being considered as containing the object. For example, if it may be known that the object of interest may more likely reside no farther than a given distance D from the device (e.g., the camera 166 in FIG. 1) a range-based saliency map, thresholded at the given distance D, may be integrated multiplicatively with other maps. Setting map locations (corresponding to ranges further than the distance D) within the distance-based saliency map to zero may be used to ensure that false positives that may arise in other methods of saliency analysis (e.g., based on color) may not bias the final saliency determination outcome. Such approach may be referred to as “veto” and/or a “filter out” operation.

In some implementations wherein evidence of presence/lack of feature may not be sufficiently high to exercise the veto operation (e.g., while the observed color may not be sufficiently close to the target object due to changes in illumination), the area in question may still be considered as a possible location of the target object, one or more saliency maps may be combined additively. In some implementations, the overall saliency determination approach may comprise a combination of additive and multiplicative approaches.

Output of saliency determination operation (e.g., combined saliency map) may be used to determine the target object location and/or bounding box for tracking the object. Various techniques and heuristics may be used in order to determine whether the tracker may still be following the object of interest. A bounding box may comprise the smallest rectangle enclosing the contour (area) where the object may be detected. Bounding box location (e.g., center coordinates) may be used by the tracking process to determine object location; bounding box dimensions may be used by the tracking process to determine object size. In some implementations, bounding box may be used for subsequent processing of images (e.g. by a machine learning system).

The bounding box may be determined in a variety of ways. In some implementations, a flood-fill on the color distance originating at the peak of the combined saliency map with a tolerance (e.g. referring to opencv documentations of flood fill http://docs.opencv.org/modules/imgproc/doc/(miscellaneous_transformations.html, parameter loDiff=10) may be performed to estimate a connected component (an area in the image enclosed by a single contour) containing the peak of the combined saliency. The term “fill operation tolerance” may be used to describe image area fill operation wherein the fill process may assign given pixel values (e.g., given color) to pixels within an area until a difference across two neighboring pixels may be encountered that is greater than the tolerance.

Location and/or dimensions of the bounding box may be determined by determining the smallest enclosing rectangle of the connected component. In some implementations, the flood-fill may be determined on the saliency map determined based on analysis of color likelihood (e.g., 210 in FIG. 2A). In some implementations, the flood-fill may be determined using a saliency map obtained based in two or more additively combined saliency maps Si using one or more image characteristics than one modality (for example color distance, color likelihood, and/or other characteristics). Individual maps Si may be thresholded prior to being combined. In some implementations, the connected component may be determined using the combined (multiplicative) saliency map. Such approach may enable tracking of objects that may not be characterized by a distinctive (salient) color compared to the background so that therefore the color distance alone may be providing a weak (e.g., below 50% of the maximal) saliency signal.

In some implementations, the tracked object may contain multiple colors. Presence of multiple colors in close vicinity to one another may simplify tracking. In some implementations, the initial area of interest as provided by the saliency map (pop-out mask) may be analyzed and a number of distant (in color space) color prototypes may be acquired. For individual color prototypes, a color distance mask may be determined for subsequent frames. For a given new frame, a set of candidate object locations may be established based on the saliency mask. For individual candidate regions, a set of minimal distances to the color prototypes may be determined. A logical analysis may be performed in order to determine an area that may produce the best match. In one instance the best match area may be selected based on color distances for a given area being within a given range (e.g., below a given threshold). In some cases, the color distance range may be configured individual color prototypes, e.g., being a function of color discriminability from the first (priming frame). In some implementations, a weighted sum of minimal color distances may be determined and compared to a threshold. In such case even if one of the colors from the prototype set may missing from the area of interest (large distance), the presence of other colors from the prototype set may cause the area to be selected as a possible location of the target.

In some cases multiple objects that may satisfy the tracking criteria may occur in an image. In one or more implementations, the tracking process may return positions and/or bounding boxes of all of the locations associated with these objects, may return the position of the largest region of interest; and/or may return the region closest to the previously identified object location. In some cases, the tracking process may produce a saliency describing positions and likelihoods of the target object appearing in the scene. In some implementations, such raw output may be forwarded to machine learning system; e.g., one trained to classify the presence of object of interest based on one or more factors such as e.g., pre-recorded and tagged set(s) of movies.

The output of the tracking process may be used to drive robotic device to execute a task (e.g., approach object 174 in FIG. 1 and/or land on the pad 1012 in FIG. 10). The output of the tracking process may be used as an input to a system configured to predict next motor action of a robot (referred to as predictor). Various ways of representing the tracker output may be used for that application, including, e.g., raw saliency map described below, normalized parameters of the bounding box.

In one or more implementations, the tracking process may be configured to determine if the object of interest may still present in a given image (e.g., 200 in FIG. 2A). If the determination indicates that the object may be present, the tracking process may communicate information related to the bounding box of the object in visual space coordinates. In some implementations, target object location (e.g., 402 in FIG. 4) referenced to the image may be combined with image sensor parameters (e.g., orientation in 3D, position) in order to determine bounding box location in visual space coordinates. If the object is absent, an object not found indication (e.g., a bounding box with negative coordinates and/or a null object) may be provided. Before entering the predictor (which for example maybe implemented a neural network having a plurality of input units) the tracker output may be converted to a form more suitable for subsequent processing. In some implementations, the actual bounding box may be converted to a saliency mask comprising zero values outside the box and values of one inside the box. Such mask may be passed through a preprocessing layer of neurons having spatial receptive fields covering the image space. Individual neurons may be configured to produce output configured based on the fraction of the receptive field occupied by the box (value one). A neuron which has only zero values in its receptive field may not produce output (activation zero), A neuron whose entire receptive field is occupied by the box (value one) may be fully activated. The vector of such activations projections onto receptive fields) may be provided as an input to the predictor. In some implementations, the center coordinates of the bounding box, together with its width and height may be provided as inputs to.

The predictor may comprise a learning process configured to determine associations between sensory context and action by the robot. In one or more implementations, the context may comprise one or more of robot state (e.g., location or motion information, (position, orientation, speed), platform state or configuration (e.g., manipulator size and/or position), available power and/or other), state of the environment (e.g., object size, location), environmental state (wind, rain), previous state information (e.g., based on historic states of robot motions), and/or other characteristic state information. In some implementations, the predictor may comprise an artificial neuron network configured to implement e.g., a perceptron, a random k-nearest neighbors classification process, a look up table learning process and/or other implementations, including e.g., such as described in U.S. patent application Ser. No. 14/607,018 entitled “APPARATUS AND METHODS FOR TRAINING PATH NAVIGATION BY ROBOTS”, filed Jan. 27, 2015, Ser. No. 14/588,168 entitled “MULTIMODAL RANDOM KNN ENSEMBLES ROBOTIC CONTROLLER. APPARATUS AND METHODS”, filed Dec. 31, 2014, Ser. No. 14/244,890 entitled “LEARNING APPARATUS AND METHODS FOR CONTROL OF ROBOTIC DEVICES”, filed Apr. 3, 2014, Ser. No. 13/918,338 entitled “ROBOTIC TRAINING APPARATUS AND METHODS”, filed Jun. 14, 2013, U.S. patent application Ser. No. 13/918,298 entitled “HIERARCHICAL ROBOTIC CONTROLLER APPARATUS”. This application is related to co-pending and co-owned U.S. patent application Ser. No. 14/244,890 entitled “LEARNING APPARATUS AND METHODS FOR CONTROL OF ROBOTIC DEVICES”, filed Apr. 3, 2014, Ser. No. 13/918,338 entitled “ROBOTIC TRAINING APPARATUS AND METHODS”, filed Jun. 14, 2013, U.S. patent application Ser. No. 13/918,298 entitled “HIERARCHICAL ROBOTIC CONTROLLER APPARATUS AND METHODS”, filed Jun. 14, 2013, Ser. No. 13/907,734 entitled “ADAPTIVE ROBOTIC INTERFACE APPARATUS AND METHODS”, filed May 31, 2013, Ser. No. 13/842,530 entitled “ADAPTIVE PREDICTOR APPARATUS AND METHODS”, filed Mar. 15, 2013, Ser. No. 13/842,562 entitled “ADAPTIVE PREDICTOR APPARATUS AND METHODS FOR ROBOTIC CONTROL”, filed Mar. 15, 2013, Ser. No. 13/842,616 entitled “ROBOTIC APPARATUS AND METHODS FOR DEVELOPING A HIERARCHY OF MOTOR PRIMITIVES”, filed Mar. 15, 2013, Ser. No. 13/842,647 entitled “MULTICHANNEL ROBOTIC CONTROLLER APPARATUS AND METHODS”, filed Mar. 15, 2013, and Ser. No. 13/842,583 entitled “APPARATUS AND METHODS FOR TRAINING OF ROBOTIC DEVICES”, filed Mar. 15, 2013, each of the foregoing being incorporated herein by reference in its entirety

In some implementations, process of determining as to whether the tracker may be following the object of interest may be incorporated in to the behavior prediction process. In this case the integrated system (robot together with behavior predicting process) may learn the behaviors relevant for the “tracked” object. In some instances a final heat map of object presence may be passed directly to the predictive system. In some implementations, the heat map may be passed through a preprocessing layer (e.g., as described in the paragraph above). In some implementations, the location of the peak of the heat map, together with the value at the peak and an estimate of the size of the peak at half of the maximal value, may be passed to the predictive system.

By avoiding the classification (decision if the object is tracked or not) the predictive process may take into account additional information not available to the tracker on whether the final saliency map may contain behaviorally relevant information. For example, the predictive process may learn to adjust the threshold for the detection based on one or more of the position/orientation of the robot, time of day, and/or other aspects that may be inaccessible to the tracker process.

Parts of the above described methodology may be applicable to a variety of signal modalities, e.g., in thermography, sonar data, radar data, and/or other applications. Saliency detection may be carried out in sonography, for example, by determining relevant histograms on the spectral representation of the time slice of sound.

Various computerized devices may be employed for implementing methodology described herein. One particular implementation of the computerized processing system, for use with the object detection, tracking, and/or control output generation methodology of the disclosure is illustrated in FIG. 7.

FIG. 7 illustrates a computerized system comprising a signal processing apparatus of the disclosure, in accordance with one implementation. The system 700 may comprise a computerized entity 706 configured to communicate with one or more signal processing devices 710 (e.g., 710_1, 710_2). In some implementations, the entity 706 may comprise a computing cloud entity (e.g., a cloud service, a server, in a public, private or hybrid network). In one or more implementations, the entity may comprise a computer server, a desktop, and/or another computing platform that may be accessible to a user of the controller 710. In some implementations of the cloud computing services, one or more signal processing devices 710 may communicate with the entity 706 in order to access computing resources (e.g., processing cycles and/or memory) in order to, e.g., detect features and/or objects in sensory data provided by, e.g., sensor module 172 of control system in FIG. 1. In some implementations, the signal processing devices 710 may communicate with the entity 706 in order to save, load, and/or update, their processing configuration (e.g., processing configuration 812 in FIG. 8). The configuration may comprise executable code (e.g., binary image files), bytecode, an array of weights for an artificial neuron network (ANN), and/or other computer formats. In some implementations, the signal processing device 710 may communicate with the entity 706 in order to save, and/or retrieve learned associations between sensory context and actions of a robot, e.g., as described in U.S. patent application Ser. No. 14/244,888, entitled “LEARNING APPARATUS AND METHODS FOR REMOTE CONTROL OF ROBOTIC DEVICES VIA SPOOFING”, filed Apr. 3, 2014 and incorporated herein by reference in its entirety.

In FIG. 7, one or more signal processing devices (e.g., 710_1) may connect to the entity 706 via a remote link 714, e.g., Wi-Fi, and/or cellular data network. In some implementations, one or more signal processing device (e.g., 710_2) may connect to the entity 706 via a local computerized interface device 704 using a local link 708. In one or more implementations, the local link 708 may comprise a network (Ethernet), wireless link (e.g. Wi-Fi, Bluetooth, infrared, radio), serial bus link (e.g., USB, Firewire) and/or other. The local computerized interface device 704 may communicate with the cloud server entity 706 via link 712. In one or more implementations, links 712 and/or 714 may comprise an internet connection, and/or other network connection effectuated via any of the applicable wired and/or wireless technologies (e.g., Ethernet, Wi-Fi, LTE, CDMA, GSM, and/other).

In one or more applications that may require computational power in excess of that that may be provided by a processing module of the signal processing device 710_2 the local computerized interface device 704 may be used to perform computations associated with training and/or operation of the robotic body coupled to the signal processing device 710_2. The local computerized interface device 704 may comprise a variety of computing devices including, for example, a desktop PC, a laptop, a notebook, a tablet, a phablet, a smartphone (e.g., an iPhone®), a printed circuit board and/or a system on a chip (SOC) comprising one or more of general processor unit (GPU), field programmable gate array (FPGA), multi-core central processing unit (CPU), an application specific integrated circuit (ASIC), and/or other computational hardware.

FIG. 8 is a functional block diagram detailing components of a signal processing device (e.g., 710 of FIG. 7) in accordance with one implementation. The apparatus 800 may comprise a memory component 812 configured to store a processing configuration and/or processing code. In one or more implementations, the processing configuration may comprise object color, size, shape, thresholds, weight coefficients, and/or other parameters. Additional memory 814 and processing capacity 816 is available for other hardware/firmware/software needs of the apparatus. The processing component 816 may interface to the sensory component 820 in order to obtain and process sensory data for, e.g., object detection, face tracking, stereo vision, and/or other tasks.

The processing component may interface with the mechanical 818, sensory 820, electrical 822, power 824, and user interface 818 components via driver interfaces and/or software abstraction layers. Additional processing and memory capacity may be used to support these processes. It will be appreciated that these components may be fully controlled by the robotic brain. The memory and processing capacity may aid in management of processing configuration (e.g., loading, replacement), operations during a startup, and/or other operations. Consistent with the present disclosure, the various components of the device may be remotely disposed from one another, and/or aggregated. For example, the learning configuration may be executed on a server apparatus, and control the mechanical components via network or radio connection while memory or storage capacity may be integrated into the brain. Multiple mechanical, sensory, or electrical units may be controlled be a learning apparatus via network/radio connectivity.

The mechanical components 818 may include virtually any type of device capable of motion or performance of a desired function or task. These may include, without limitation, motors, servos, pumps, hydraulics, pneumatics, stepper motors, rotational plates, micro-electro-mechanical devices (MEMS), electroactive polymers, and/or other mechanical components.

The user interface components 818 may comprise virtually any type of device capable of registering inputs from and/or communicating outputs to a user. These may include, without limitation, display, touch, proximity sensitive interface, light, sound receiving/emitting devices, wired/wireless input devices and/or other devices.

The sensory devices 820 may enable the processing apparatus to accept sensory input from external entities. These may include, without limitation, video, audio, capacitive, radio, vibrational, ultrasonic, infrared, and temperature sensors radar, lidar and/or sonar, and/or other sensory devices.

The electrical components 822 may include virtually any electrical device for interaction and manipulation of the outside world. This may include, without limitation, light/radiation generating devices (e.g. LEDs, IR sources, light bulbs, and/or other devices), audio devices, monitors/displays, switches, heaters, coolers, ultrasound transducers, lasers, and/or other electrical components. These devices may enable a wide array of applications for the robotic apparatus in industrial, hobbyist, building management, medical device, military/intelligence, and other fields (as discussed below).

The communications interface 826 may include one or more connections to external computerized devices to allow for, inter alia, management of the processing and/or robotic device, e.g., as described above with respect to FIG. 1 and/or with respect to FIG. 7. The connections may include any of the wireless or wireline interfaces discussed above, and further may include customized or proprietary connections for specific applications. In some implementations, the communications interface 826 may comprise a component (e.g., a dongle), comprising an infrared sensor, a radio frequency antenna, ultrasonic transducer, and/or other communications interfaces. In one or more implementation, the communications interface may comprise a local (e.g., Bluetooth, Wi-Fi) and/or broad range (e.g., cellular LTE) communications interface configured to enable communications between the processing apparatus (e.g., 710 in FIG. 7) and a remote computing entity (e.g., 706, 704 in FIG. 7).

The power system 824 may be tailored to the needs of the application of the device. For example, for a small-sized lower power appliance, a wireless power solution (e.g. battery, solar cell, inductive (contactless) power source, rectification, and/or other) may be appropriate. For building management applications, battery backup/direct wall power may be superior. In addition, in some implementations, the power system may be adaptable with respect to the training of the appliance apparatus (e.g., such as described in U.S. patent application Ser. No. 14/489,242, entitled “APPARATUS AND METHODS FOR REMOTELY CONTROLLING ROBOTIC DEVICES”, filed Sep. 17, 2014 and incorporated herein by reference in its entirety). The training may improve operational efficiency of the appliance (to include power consumption efficiency) through learned management techniques specifically tailored to the tasks performed by the appliance apparatus.

FIGS. 9A-9D illustrate gestures of a human operator used for communicating control indications to a robotic device comprising feature determination apparatus described herein, in accordance with one or more implementations. The robotic device may comprise, e.g., the apparatus 160 comprising a camera 166. Objects and/or features shown in FIGS. 9A-9D may be obtained by a controller of the robot during operation using object/feature detection based on saliency analysis of video images provided by the camera.

FIG. 9A is a top view of a user and may illustrate a base posture 920 of the user. FIG. 9B may depict user gestures 900 communicating a right turn action to a robotic device (e.g., the vehicle 160 in FIG. 1. The robotic device 160 may utilize images provided by the camera 166 in order to detect position of the user arms 908, 908. In some implementations, the arm 908, 904 position may be determined using saliency determination methodology configured based on color distance, color likelihood, distance, motion and/or other approaches described herein. By way of an illustration, the gesture in FIG. 9B may be determining based on a comparison of distance between the robot and the user arms in positions 604, 608 in FIG. 9B relative the user arms in position 924 in FIG. 9A. In one or more implementations, the gesture in FIG. 9B may be determining based on a comparison of distance between the robot and the user arms in positions 904, 908 relative the user head 902 in FIG. 9B.

FIG. 9C is a side view of the user and may depict user gesture 910 communicating a stop action to a robotic device (e.g., the vehicle 160 in FIG. 1). A processing apparatus may utilize images provided by the camera 166 in order to detect position of the user arms, head 942, 912, and/or hands 914, 944. In some implementations, the hand 942, 944 position may be determined using the saliency determination methodology described herein. By way of an illustration, the gesture in FIG. 9C may be obtained based on a comparison of color between the robot and the user hands in position 914 in FIG. 9C relative the user hand in position 944 in FIG. 9D. In one or more implementations, the gesture in FIG. 9C may be determined based on a comparison of distance between the robot and the user hand in position 914 relative the user head 912 in FIG. 9C analysis of arm 914 motion, and/or other approaches. In some implementations (not shown) the user may communicate an indication to the robotic device by, e.g., appearing in view of the camera. By way of an illustrating, the user stepping in front of the vehicle may indicate to the vehicle a stop action.

FIG. 10 illustrates use of saliency and/or object detection methodology by an unmanned robotic apparatus configured for autonomous navigation, in accordance with one or more implementations.

The unmanned autonomous vehicle (AUV) 1000 may comprise one or more cameras 1002 disposed spatially from one another. Images provided by the camera 1002 may be analyzed using any applicable saliency detection methodology described herein (e.g., with respect to FIGS. 2A-6). The analysis may provide information related to presence and/or location of obstacles (e.g., the 1010 based on color distance saliency map), location of the landing pad 1012, and/or other objects. Controller of the device 1000 may utilize the saliency information and/or vehicle motion information to control actuators 1004 when landing, during take-off and or navigating around obstacles.

In some implementations, video streams provided by individual ones of the two or more cameras 1002 may be interleaved and encoded using, e.g., methodology described in U.S. patent application Ser. No. 14/326,374 entitled “APPARATUS AND METHODS FOR MOTION AND DISPARITY ESTIMATION FROM MULTIPLE VIDEO STREAMS”, filed Jul. 8, 2014, the foregoing being incorporated herein by reference in its entirety. The encoding may enable controller of the vehicle 1000 to determine distance 1006 between the vehicle 1000 and the landing location 1012, and/or distance 1018 to obstacles (e.g., 1010). The controller may utilize the distance, the saliency information, and/or vehicle motion information to control actuators 1004 when landing, during take-off and or navigating around obstacles.

FIGS. 11-13 illustrate exemplary methods of determining saliency in sensory input, according to one or more implementations of the disclosure. The operations of methods 1100, 1200, 1300 presented below are intended to be illustrative. In some implementations, methods 1100, 1200, 1300 may be accomplished with one or more additional operations not described, and/or without one or more of the operations discussed. Additionally, the order in which the operations of methods 1100, 1200, 1300 are illustrated in FIGS. 11-13 described below is not intended to be limiting.

Methods 1100, 1200, 1300 may be implemented in one or more processing devices (e.g., a digital processor, an analog processor, a digital circuit designed to process information, an analog circuit designed to process information, a state machine, and/or other mechanism for electronically processing information and/or configured to execute computer program modules stored as computer readable instructions). The one or more processing devices may include one or more devices executing some or all of the operations of methods 1100, 1200, 130 in response to instructions stored electronically on a non-transitory electronic storage medium. The one or more processing devices may include one or more devices configured through hardware, firmware, and/or software to be specifically designed for execution of one or more of the operations of methods 1100, 1200, 1300. The operations of methods 1200, 1220, 1240 may be implemented by a computerized apparatus (e.g., 710_1, 706, 800 in FIGS. 7-8) configured to control a robotic device (e.g., 160 in FIG. 1).

FIG. 11 illustrates a method of using saliency detection for tracking of objects, in accordance with one or more implementations.

At operation 1102 of method 1100 saliency map may be determined. Saliency map determination may be configured based on analysis of one or more characteristics of an image (e.g., the image 200 in FIG. 2A). The saliency map be configured based on a determination of a deviation of the characteristic in one portion of the image relative other portions. The characteristic may comprise pixel color for one or more channels (e.g., YUV), pixel color distance to a reference color, orientation of one or more groups of pixels, motion magnitude and/or direction for a group of pixels, and/or other characteristics. By way of an illustration, likelihood of pixel value occurrence in the image may be determined. Saliency of a pixel at a location within the saliency map may be determined based on the likelihood value pixel at that location. In some implementations, saliency map may comprise multiple components, e.g., map component determined based on likelihood, map component determined based on color distance, and/or other approaches.

At operation 1104 saliency map may be analyzed to determine an area of high saliency for a given task. Level of saliency considered high may be configured based on a specific task. By way of an illustration, in an application of locating a target object of a given color on a background, an area with color occurrence below 5% may be deemed as salient. In some implementations, the saliency map analysis may comprise determination of peak saliency, area around the peak a contour of a given level (e.g., threshold), largest contiguous area at or above given threshold; a contiguous area at or above given threshold, and/or other operations. Operation 1104 may produce one or more areas characterized by high saliency.

At operation 1106 one or more high saliency areas determined at operation 1104 may be analyzed. Analysis of a given salient area may comprise detecting presence of a particular color or set of colors, determining absence of a given color or a set of colors, presence or absence of features characterized by, e.g., high frequency content (e.g., edges), determining mean orientation, and/or other features. Operation 1106 may be configured to produce information related to presence of the object of interest in one or more areas of high saliency.

At operation 1108 information related to presence of the object of interest may be provided to a tracking process. In some implementations, the information may comprise object location, color, shape, bounding box size and/or location. Operation 1108 may be referred to as tracker priming wherein information about presence and/or location of an object obtained using one image characteristic (e.g., color distance) may be utilized to initialize and/or assist a tracking process configured to operate based on another characteristic (e.g., motion).

FIG. 12 illustrates a method of determining a saliency map based on likelihood information, in accordance with one or more implementations.

At operation 1202 of method 1200 a histogram of image pixel values may be determined for one or more channels of an image. In some implementations the image may comprise an image in YUV color space comprising 320×240 pixel matrix for Y luminosity channel, 160×120 pixel matrix for individual ones of the U,V chromaticity channels. Pixel values for individual (YUV) channels may be characterized by 8-bit resolution thereby corresponding to pixel value range between 0 and 255. The image may be characterized by a 3-dimensional color space (e.g., cube 206 in FIG. 2A). The color space may be partitioned into one or more bins, e.g., luminosity channel may be partitioned into 4 bins, U,V chromaticity channels may be partitioned into 8 bins each thereby producing 18 bins. In one or more implementations, number of bins within a color space may be selected between 2 and 200. Histogram determination may comprise comparison of individual pixel values within the image to individual bin ranges of the color space.

At operation 1204 a back-projected version of the image may be determined using the histogram information. In some implementations, the back-projection operation may comprise assigning a saliency value at a location (x,y) determined based on a value of the respective bin of the histogram the may correspond to pixel value within the original image at the location (x,y).

At operation 1206 saliency map may be determined based on the back-projected image information. Histogram bin values may convey information related to frequency of occurrence of a given pixel value within the image. Lower frequency of occurrence may correspond greater the saliency, in accordance with some implementations. In some implementations, saliency map determination may comprise one or more of spatial filtering (e.g., Gaussian blur), thresholding, and/or other operations configured to increase difference between an area of high saliency relative background (signal to noise) within the saliency map.

FIG. 13 illustrates a method of navigating a trajectory by a robotic device using salient feature detection, in accordance with one or more implementations. Operations of method 1300 may be performed by, e.g., autonomous robotic vehicle 160 of FIG. 1 when approaching a target 174, and/or vehicle 1000 when landing while avoiding an obstacle in FIG. 10 in one or more implementations.

At operation 1302 an image may be obtained by the robotic device while navigating a trajectory associated with a task. In some implementations, the image may comprise a plurality of pixels characterized by one or more channels (e.g., the image 200, 230 in FIGS. 2A-2B).

At operation 1304 saliency map may be determined based on determining a deviation of a characteristic within an area of the image relative the characteristic of other area(s). In one or more implementations, the deviation determination may comprise determination of color distance difference, analysis of difference between a value of a pixel and values of pixels in a surrounding region, analysis of pixel likelihood of occurrence, motion magnitude and/or direction, circularity, orientation of pixel patches, and/or other operations. In some implementations, the saliency map may be determined based on a combination (e.g., multiplicative, and/or additive) of two or more maps, e.g., as described above with respect to FIGS. 5-6.

At operation 1308 location of an object may be determined based on the saliency map evaluation. In some implementations, the evaluation may comprise determination of color, orientation, dimensions (e.g., circularity), surface area, motion direction and/or magnitude, and/or other parameters associated with the salient area.

At operation 1310 the trajectory may be adjusted based on the detected object feature. In some implementations, wherein the detected object may comprise a target (e.g., 174 in FIG. 1) the trajectory adjustment may be configured to guide the robotic device closer to the object. In some implementations, wherein the detected object may comprise an obstacle (e.g., 1010 in FIG. 10) the trajectory adjustment may be configured to guide the robotic device away from the object.

Implementations of the principles of the disclosure may be further applicable to a wide assortment of applications including computer-human interaction (e.g., recognition of gestures, voice, posture, face, and/or other interactions), controlling processes (e.g., processes associated with an industrial robot, autonomous and other vehicles, and/or other processes), augmented reality applications, access control (e.g., opening a door based on a gesture, opening an access way based on detection of an authorized person), detecting events (e.g., for visual surveillance or people or animal counting, tracking).

A video processing system of the disclosure may be implemented in a variety of ways such as, for example, a software library, an IP core configured for implementation in a programmable logic device (e.g., FPGA), an ASIC, a remote server, comprising a computer readable apparatus storing computer executable instructions configured to perform feature detection. Myriad other applications exist that will be recognized by those of ordinary skill given the present disclosure.

Although the system(s) and/or method(s) of this disclosure have been described in detail for the purpose of illustration based on what is currently considered to be the most practical and preferred implementations, it is to be understood that such detail is solely for that purpose and that the disclosure is not limited to the disclosed implementations, but, on the contrary, is intended to cover modifications and equivalent arrangements that are within the spirit and scope of the appended claims. For example, it is to be understood that the present disclosure contemplates that, to the extent possible, one or more features of any implementation may be combined with one or more features of any other implementation. 

What is claimed is:
 1. A non-transitory computer-readable storage medium having instructions embodied thereon, the instructions being executable by a processing apparatus to perform a method of providing a tracking indication, the method comprising: for an image comprising a plurality of pixels, individual ones of the pixels characterized by one or more pixel characteristics, determining a pixel occurrence statistics parameter based at least on analysis of the one or more pixel characteristics; determining a spatial saliency distribution of the based on the at least one pixel occurrence statistics parameter; determining a location of a salient area in an image corresponding to saliency; and providing the tracking indication configured to convey information related to the salient area to a tracking apparatus in communication with the non-transitory computer-readable storage medium.
 2. The computer readable medium of claim 1, wherein: the image comprises a representation of an object; and the providing the tracking indication comprises providing the tracking indication so as to enable tracking of the object throughout a plurality of images occurring subsequent to the image, individual ones of the plurality of images comprising representations of the object.
 3. The computer readable medium of claim 1, wherein: the image comprises one or more channels, individual ones of the more or more channels being characterized by the one or more pixel characteristics; and the one or more pixel characteristics are selected from the group consisting of pixel color and pixel luminance.
 4. The computer readable medium of claim 3, wherein the pixel occurrence statistics parameter is configured based on determining likelihood of occurrence of a value of a pixel characteristic within the image.
 5. The computer readable medium of claim 4, wherein: the determination of the likelihood is configured based at least on determining a histogram of a plurality of values of a pixel characteristic, the histogram comprising a plurality of bins, individual ones of the plurality of bins being characterized by a characteristic value range; a value of a given bin of the plurality of bins being determined based at least on a comparison between a value of a pixel characteristic and the value range for the given bin; the determination of the likelihood is configured based at least on determining a histogram of a plurality of values of a pixel characteristic, the histogram comprising a plurality of bins, individual ones of the plurality of bins being characterized by a characteristic value range; and a value of the threshold is determined based at least on an evaluation of the histogram.
 6. The computer readable medium of claim 1, wherein: the location of the salient area is determined based at least on the saliency distribution meeting or exceeding a threshold; the at least one pixel parameter is configured based at least on determining a distribution of pixel values within the image, the distribution characterized by a parameter; and the saliency determination is configured based at least on an evaluation of the at least one pixel parameter relative to the threshold.
 7. The computer readable medium of claim 6, wherein a value of the threshold is determined based at least on a determination of saliency associated with another image preceding the image
 8. The computer readable medium of claim 6, wherein a value of the threshold is determined based at least on a success rate of detecting the object in one or more images preceding the image.
 9. The computer readable medium of claim 2, wherein: the image is characterized by a color space comprising at least one dimension; and the at least one pixel characteristic is configured to convey information related to the at least one dimension.
 10. The computer readable medium of claim 9, wherein: the salient area is characterized by a first rate of pixel occurrence; the spatial saliency distribution comprises a background area characterized by a second rate of pixel occurrence, the second rate of pixel occurrence being greater than the first rate of pixel occurrence; and the pixel occurrence statistics parameter is configured to provide a reference within the color space.
 11. The computer readable medium of claim 10, wherein: the at least one dimension comprises a chromaticity dimension; and the reference comprises a reference chromaticity.
 12. The computer readable medium of claim 11, wherein the method further comprises determining a distance measure between chromaticity of individual pixels within the image and the reference chromaticity; and wherein determination of the reference chromaticity based on the pixel occurrence statistics parameter is configured to increase discriminability between distance measure associated with pixels corresponding to the salient area of the image and distance measure corresponding to the background area of the image.
 13. The computer readable medium of claim 12, wherein the increased discriminability is based at least on a greater difference between (i) the distance measure associated with pixels corresponding to the salient area of the image, and (ii) the distance measure corresponding to the background area of the image when compared to respective distance measures determined based on another reference chromaticity, the another reference chromaticity determined based at least on pixels disposed outside the salient area of the image.
 14. The computer readable medium of claim 12, wherein: the tracking of the object comprises detecting the object in the image; and use of the reference chromaticity is configured to improve the detection of the object, the improvement of the detection characterized by fewer false positives of object detection compared to object detection effectuated absent determination of the reference chromaticity based on the pixel occurrence statistics parameter.
 15. A computer implemented method of tracking an object in a sequence of digital images each comprised of pixels, the method comprising: for an image of the sequence of images, determining at least one distribution of orientations in the image; evaluating the at least one distribution to determine salient orientation information; determining a location of at least one salient area in the image based on the salient orientation information; and tracking the object based on the location of the at least one salient area, the tracking of the object comprising determining an occurrence of a salient orientation in an area proximate to the location, the determined occurrence of the salient orientation being in a subsequent image of the sequence of images.
 16. The method of claim 15, wherein: individual pixels of the image are characterized by one or more channels; and the determining of at least one distribution of orientations in the image is configured based on analysis of pixel values for individual ones of the one or more channels
 17. The method of claim 16, wherein: the one or more channels comprise pixel chromaticity; and the analysis comprises determining a chromaticity distance measure between pixel chromaticity and a reference chromaticity.
 18. The method of claim 16, wherein: the image comprises an object portion characterized by pixel chromaticity values occurring in a first range, and a background portion characterized by pixel chromaticity values occurring in a second range, the second range non overlapping with the first range; and the chromaticity distance determination is configured to increase likelihood of the object being present at the location relative location determination effectuated in absence of the chromaticity distance determination.
 19. The method of claim 15, wherein: individual pixels of the image are characterized by a chromaticity parameter; and the method further comprises determining a chromaticity distance measure between chromaticity of pixels of the image within the salient area and a reference chromaticity. 